fixed coloring issues with the threshold lines