mem file fix