fixing after post redirect