fix an unintended recursion