Fixed bug with progres on upload