fixing problem with loading pathways as networks