[generic plugins] fix in image utils