get pathway from global var now