fixed enemy creation bug