added configuration check