handle incomplete logs