fixes in upload module save file