fixed bug on graph navigation