avoid throwing an error if no images are found