fix upload type