fixed error with get_all_headers when none specified as unique