fix order of images