bug in logging fixed