fixed upload classes loading