fixed graph to use correct colors