allow deprecated images fix bug