fix close chat