fixing switch color