improve path helpers