attempt to fix spawnAsteroid errors
added comments