add configuration check