fix for removing messages from chat