fixed recursion in excluded flaps