fixed a bug in Groovy's interpretation of tree('a').