fix progresive bar logic
