fixed bug when hq is destroyed (see the comments.) small fixes in Enemy