finish custom post type and fields