gem structure is not correct