Revert "fix one bug"

This reverts commit e4d5fa0bf430401aaf7c440f4f3d4608e1ae33a2.
Fix bug than allow zero length key name