Fix for redirect URL