fixed a bug where the themename was hardcoded