relationship type fix