fix expanding hiding data problem