fix bug where hints disappear after first key press