minor improvements in image reading