fix sloppy merge from master
removed in master
log db clear fails