small case post_type edit fix