multi photos upload, fix bug with last photo cant delete