Small fixes in code and corrections in treebanks