fixing color change