moved setting brfore color overrides