fix autofill agent
fix for mac