minor tweaks to memory output