fixed upload api