fixes to log uploader