fix color bug; now paints in the right color and appears to do so, too