checking config