fix file size in preview tab