Revert "key cannot be zero"

This reverts commit 0295d339726a9d0301ae30340414f1fe373245ad.
key can now be zero