added an error message to the end of the config "else-if" ladder