set to the attribute not the local