fixed upload redirect