bugs in additionalProperties handler