improved header alignment