fixed part of positionShip problem