changed path to dbpath