fixed chat window id issue