fixed progressbar bug, wich caused it to flip after 32 seconds