fix themes when using config file