fix wrong end of line