remove trailing 'n'