fix a bug that wrong file size displayed