pai#num bug: num ranges over 0 to 8