add alert when upload file fails