remove extraneous space