fixed layout of typeOfResource and Genre classes