Fix database path