join notes if it is an array