remove decependency to image ext