Lograte and bugfixes