fixed a problem when sell ships