fix problem with null params, delete also anchor