Fix type colors & crash bug even if old theme is used