Tileset size problem

Hi
I have a problem with my tileset that the size not the same on the same tileset.
The tileset is 32x32 and some tiles are fit

But some not

I tried to resize it multiple times and paint on different layers as well but doesnt work. I cant paint properly with the tiles that are arent fit.

If anyone know how to fix this please help