fix bug with recursion
1.1.3