post redirect fix