Bug fix for spaces being deleted with echo word wrapping