CRF validation bug fix