snapping fix