fix format error not being parsed