fix license type