if val is null display empty string and do not set fontcolor if undefined