anchor toggle fix