fix comparation