fixed progressbar overflow