fixed pathways bug