fix undefined id on project_index