Fix num to Integer