cleaning up memuse