modify ai, change chapter4 to chapter5