fixed bug with infinite recursion