fixed graph bug
Merge pull request #66 from alexanderson/master

fixed graph bug