more useful messages when things aren't defined