hot fix: when theme is nil