clear upload list when completed and display errors in main page