catch image exception