fix upload photos