add TypeError for incompatible kw-arguments