fix issue with deprecated url imports