fix data type of number variables