fix bug when monster is hit