fixed error in turn