remove io dependency