add some comments in config validation