fix bug in enemy