pre code fix
index