fix for chat