fixed memory crisis