Fix to redirect