fix unit scared bug