Fix clearing keywords