small mods to dataio stuff