log current url bug fix