Anchor bug fix