Fix recursion callback error