Fix error in url change