fixed double result issue