fix type/rel