Wrong array keys in code example