fix POST redirect