confused

i just came to the second sea at level 712 and i’m on the 8 raiders quest but for some reason they are able to hit me. I have the light fruit which is a logia so they shouldn’t be able to hit me without haki(aura). can anyone tell me why they are able to hit me