swap caller frames