CLOUD-338 removed unused variables