fix missing attribute when creating a new list