memory leakage patched a further step.