fixed bug in license file recognition