fixing chat problem