bugfix for uploader
bugfix for uploader