fix JoinStringFactorVisitor. closes #688