fix for after pay redirect