change numeric to number in type definition