fix error unknow type_downcase