Trying to set the right attribute