fixed bug that wrong photos are shown (still not possible to change the photo to be uploaded)