Fixed url reload bug