Fixed some bugs in GraphHost