fix file upload not really upload successfully