fix unpublish