setErrorStatus() now working