fixed chat clearing and auto focus