add configuration protection