fix to local/remote pathing issue