change type to number