fixed a problem when you sell a ship