fix double space in exceptions