fix from num-teaching