fix setting attribute in value provaider