fix a type