fixed chat nullpointer
made a fix for modreq nullpointer