Change redirect to right value