removing extraneous space