modify incorrect scheme in attributes assignment