Correct bug in lazy field code extraction