ai tweaks for performance