Fixed bug with themes.