Fixed an improper type mapping