fixed imageutil bug