fix a bug in hideDataset, implement showDataset, rebuild