Comparison parameter has a wrong value