fixed hovering bug