verification of post type