fixed a rounding error on the receiving side of the progress bar, fixed an error in identifying divs