Remove global variable selfName