fix to match latest io changes