fixed logging
styling tweaks