Fix log model