fixed context.insert bug (the callback received the placeholder)