improve header lookup time