made template import errors show up. Fixes #167