another simple track-memory fix
better memory track