fix states of new enemy are not reset.