repairs spaceship bug