remove printf from lr0
reference counting cleanup
goto record