Wrong variable name keyPath instead of name