Fixed bug when ESProfile username is blank