fixed a minor bug with first upload where name was not being returned properly