few fixes more about config parse error case