Fixing issue with progress target (had cast to int instead of double)