memory fix.