fixed tree parsing with multiple operations