fix spaces in keyword for cite autocompletion