should fix last enemy not attacking