bug fixes and enemies spawning