remove graphdat dependency and fix typo/bug..