made chat output consistent