fix model
has idea how to fix problem of 'outer join'