Fix join lines so that only a single space will exist between two lines