fix criteria value validation