config checking