path correction, double database index fix