fixed snapping