Fix unpublish