memory check fix, requires mem check to last length of process - must kill daughter if there is a leak