need to trim value being compared