fix units for mem and io