fixed unpublish