safer console.log in join method, fix conditional gets for arrays