fixed double test programmed, please test it