bugfix: add entry when db doesn't exist