fixing URL for setting options from URL bar