small fixes
extra logging