fixed code render index