fixing proto so that the name property can be accessed better