implement hide feature for publications