handle CR by ignoring it