make accept license idempotent