fixed a type mapping error