add data matches before sub routes are processed