fixing problem in cqTemplate xml workspace