fixing #181 more than one related class