removing extra spaces on headers