fix deprecated url import