- fixed issue where db wasn't reinitialized on wakeup