Fixed rel and class assignment