small cleanup to MemSlave