upload files bug fixed