solve problem with delete anchor