Quick fix for value not updating.