misc
small tweaks, log probability