fixed a couple really nasty mem leak bugs from new facet code