fix structure methods using _id instead of email