remove unneeded <cr> for commands