Updated partial name variable. Fixed a bug of partial id