fixed '' salt condition variable 2 bug