fixed compare data