fix the anchor plugin