Removed mem access bug.