fix database absolute path