fix add post type to post select logic