chat working properly