For internal toothed gears, you must enter the number of teeth as a negative value as stated in DIN 3960. The shaft and the hub must have the same number of teeth, but with different signs.