fixing color in matrix view