fixed bug where log disable .