bug fix in comparaison