fixed constructer for base class call