sway correction