[QL] updated setValue which wasn't working properly