modify anchor conditions