Bugfix: setting db file path was overwritten later by default