Fix some log version bugs