fix my mistake in ensuring project name index