trouble with line to variable parsing