Physics 2.0 hitboxes and going up

I need help with my game, i have a rectangular hitbox using physics 2.0 and im configuring the hitbox for physics but it sometimes either stops or stops 1 pixel away or 1 pixel inside. please help and also the player cant move up 1 pixel tall flooring to