fix delete url after uploading