database path fix