fix pointValue compared against resistance