Fixed bug at upload file.