spaces before end