modify function of appending and removing url in option page