correction on the allow recursion