fixes upload ascii error