initial fix of chat layout