Fix wrapper for loading theme