fix a bug by deleting code

The empty string is a valid key in Redis.