removed a bug in the end part of the turn maneuvre