refactor to use isPublicDelete instead of isHidden