fix delete_leafentry