small fix for visual glitch in graphs