Fix Licenses crash