make sure there is at least one space between words