fixed error log spam of: uninitialized value  in string at upload.cgi line 384