fix open failure of recursive directory, fix close report