comparison fix --KW