use model instead of view for latex export