fix upload photos for ie