fixed bug in parse_dsr_line
handling of free variables