fix partial rendering