Fixed first upload bug