remove some of the mem reduce issues