fixing a type