stop from crashing on failed upload