fixed bugs in Leisure version of parseLine,