fixed turning bug