Remove spaces before question mark