Remove extra space in error message