fix comparaison
fix logger instanciation