fixes for uploading data continuously