trying to clean up mem