CFY-1279 fixed get_input function args validation