fix partial name typing bug