fixed bug in gridmotiongraph