removed destructor logic which ends in segfault...