enable gen_valid in settings. genvalid_config in settings