fixed bug caused by removal of name field