fix for getImages