remove extra spaces, also on line 248