Fixed out-of-bounds accesses caused by NUM_FMT and co.