fix uploading logs