Fix line parser