fixed meminfo insertions to be more reasonable