why was the duplicated _input_charset?