some fixing in log