fix recurse error & exception un catched