Small code change to ram cleanup.