fixed bug with color scale