fix bug log