pass models correctly to wrapper view