fix a small bug on notification