fixed imageinfo tool