fix issue #13 ycb only replaces one $$param$$ per value

passes a simple test case.