fix invalid enctype