avoid panic when theme isn't loaded closes #248