fixes #27: pass param by reference for constructing the example link