index render fix