fix name is nil