Fix todo.
Update method freeLocation and locationShip