Fixed bug:Error on name if public profile is empty