fixing graph
scaling graph