Hack-fixed the get_header method