fix message joining and add logging