fix trigger/notification bug with multiple images from the same id