when joining, avoid double spaces