more useful message on missing template