Fix database path.