fix destroy issue. obsoletes garbage collector