Fixed typo
Fixed outbounded recursion