change via than to prevent render element error