added postdata reset