fix crash when AI lib can't be loaded