Update code for checking input parameter

No match.