fixing bug where uplaod failed if the container exists