Fix duplicate post problem