fix for compare log