added extra check that errors in 0,1