fix missing image bug