fixed bug theme lookup