fixed reference to function
fixed line number insertion