coll/ml: do not register variables in open and fix a bug in the coll/ml parser

cmr=v1.7.3:reviewer=pasha