model relation fixes