add preview upload file fix