fixes body references