fixing rendering.