fix keyName/key to be in line with the docs