join errors fixed