Fix the valsi check error case