Fix issue with license activation