moved path helpers from client