removed rgb white checking