refactor view params