remove extra cr/lf