Fix for redirect.