After 8hrs of fishing and every fish caught coming off i think i need some advice please, I am fishing with a nylon hair rig with a size 10 hook 10lb hook line and a 21 mm pellet, every fish has come off

, the hook is right close to the pellet so im thinking that the fish isnt hooked very well, i had some longer hair rigs but all that happened then was the bait was pulled an fish not hooked.
Would it be best to use a smaller pellet or a larger hook?