CLOUD-325 small variable fix