fix upload fail