small wordWrap refactor