Fix bug in active theme