fixed double data problem