prevent chat message overflow (second try)