fixed errors on chat notification