modify the way of render