Fix Upload class