detect recursion in configuration