fix render partial