attempt at fixing URLerror