CB-8802 fixed incorrect variable declaration