fixed custom post type and taxonomy registration