remove referrences to mapi