fix double post problem