Fixed bug with turning