small fixes, log changes