Fix for redirect success