fix url change bug