nested calls to lines should not reset reference definitions