fix wrong variable use

Status Job ID Name Coverage
  Test
canceled #8223
lint:js

canceled #8224
unit:django