switch Attr toogle