fixed a travis build error wrto access the base class variable