fixed the data object to have name