better missing image checking