Progress bar fix