Fix work paper code