bugfix removing last keyword in keyword set