add assertion.
use common variable.