fixed ship init bug