fixed the post type