Remove spaces before periods