fixed nojre recursion