clean up io setup.