fixed progress in case of unknown file size