fix logger type