bug fix when a planet is destroyed