Fixed bug in tainted memory.