Fix bug on uploader