change the way data for unpublishing is gathered, fixes #84