try to fix bugs in file/upload
try to fix bugs in file/upload
try to fix bugs in file/upload and fix != to !== in line 275