some fixes for new DB
Merge branch 'master' of https://github.com/niralittle/Notus