Avoid potential infinite recursion