parent ctor calling error