fixed some typos and no cleanup with unsuccessful upload