getURL and redirect fixed