fix upload not success issue