fix m2 repo editor upload problem