Study finds clue to eating disorders