quick hack for newer requests compatibility