check err firsT