bugfix sharing corpora (wrong join statement)