memory fix model