removing unused function to fix build.
fixing capital typo.