Fix log reader