fix user name crash bug