comment the destructor becuase of core dump