finish header part