removed buggy memory management for "dep code" by taking it off the heap