bug fix for map spawned enemy