edit page index fix upload