click to open history (and bugfixes)