fix bug empty name field