Remove unused var in render.