Fixing issue with overriden  virtual constructor