Fixed a type with an error message