fix render()