input config validation