change init error check condition

No match.