attempting to fix bug in upload url