simplify render in views