added case for missing images