strip before value comparison