Bug fixed

when progressbar is 0 APVa throwed an error