fix for max 99 images