remove extra spaces from comments