fix of destroying pivot data