Google substring fixes.