add state.error_status