bug fixes for for ship management