argument check in config api