error message when key is 0