Bug in name setting