fix custom post type toggle buttons