fix reading errorformat for one line formats