temp fix for reltype bug