Fixed incompatibility with base URL change.