fix pathways