fixed code in redirect