corrected currentURL() - query string was already included