Fix recursion.  fix #1