check gradient ok cnlf