fixed logging issue in mydbh