custom header critical bug