fix COMPARE_PREVIOUS mode