fixing order of images