remove gem structure