small fixes to console and log