makes error when used as site-wide theme go away. Fixes #33.

However still doesn't work as site-wide theme yet.