Fixed a bug with license issues