fixed post exist detection