fixed bug in handleEnemies() method