little fix on Logger