Fix rate comparation
New logging