eliminate some warning with graph structures