better errors on method tables