fix default_headers undefined method