fixed deleting anchor