improve header interaction