bug fix, and remove metarvars in opt_parse