added cin cache cleanup and fixed hotkeys bug