Fix insertCallback location