Fixing graph type