add word wrap and goto error