improve enemy handling