simple bug fix for crash on two-word keyword. more complex fix later