Fixed issue with bad graphs. Fixed issue with bad colors