Redirect improvement, changed name of variable