fix keyword toggle