fix in image utils