install_image bug fix