Fixed chat display bugs & syntax error bug