resolved error calling this->getExpression()