And as Sayu said, please make these hasvar() calls.