fixing logs of bugs