fix rendering view issue