close #66, fix fileupload