keycache bug fixed.