finally fixed logging and very old mis-used dot notation for hashes