minor IO improvement