Removing mem struct