Fix materials upload name field