fixed bug in color/size mapping for metrics containing whitespaces