Seems the line number problem and variable names problem are both solved.