toggle properly