fixed some bloopers with AI_flags struct