fixing another problem relevant to file upload.