add initial path filtering