add delete cluster setting and throw exception when validation fails