add missing else in config