bug correction memory leak in Acid