Change the logic of views. Insert to page first and then render it.