fixed problem formatting RGB strings