Fixing lograte and some other things