Fixed bug with progress