edit error code