fixed some variable mismatches in dynamic router docu snippets

I think it should be like this :)