Fix post type class