CEP-259: fix for notice 'undefined var'