#212 fix simple garbage collection