added post type fixes

added post type fixes that have been used in defensive