fixed turn bug