fixed a few processing bugs in larch backend