Fix auto-insert.