fixing order of creation of types in GoGraph