fix broken link output in multi-file upload