fixing io test for api change