simplified header resolver