Fixed chat demo bug