use model, not collection for redirect

collection may be an anonymous dataset