get <cr> in the right place