bug fixed
add function render in View