fixed invalid type number