added error state combine.